﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace YYTea.Services.VModel
{
  public   class UserLogin
    {
        [Required]
        [EmailAddress(ErrorMessage = "请输入正确的邮箱地址")]
        /// <summary>
        /// 登录名
        /// </summary>
        public string UserName { get; set; }
        [Required]
        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }
    }
}
